package com.xiangxiao.rpan.storage.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName RenameFolderDto
 * @Auther admin
 * @Email 573768011@qq.com
 * @Date 2024/9/30 16:14
 */
@Data
public class RenameDto {
  @NotBlank(message = "存储源 key 不能为空")
  private String storageKey;

  @NotBlank(message = "存储路径不能为空")
  private String path = "/";

  @NotBlank(message = "原文件名不能为空")
  private String name;

  @NotBlank(message = "新文件名不能为空")
  private String newName;

  private String password;
}
